package com.ton.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Config {
    public static boolean PRODUCT = true;

    private static String BASE_URL_PG_SERVER_API = "";

    @Value("${app.product}")
    public void setProduct(boolean product) {
        PRODUCT = product;
    }

    public static boolean debug() {
        return !PRODUCT;
    }

    public static int getAmountPointNumber() {
        return 100;
    }

    public static double getWithdrawFeePercent() {
        return 0.05;
    }
}
